/*
 * controller functions
 *
 */

#ifndef CONTROLLER_H_
#define CONTROLLER_H_


#ifdef __cplusplus
extern "C"{
#endif

float controller_onoff(float avg, float angle,float time, float laststate);

#ifdef __cplusplus
}
#endif
#endif

